91c22dc130e2803ef3308f5fb13399f70e031c14,java-runtime/src/utils/AbstractPageServlet.java,AbstractPageServlet,renderOrInitAction,#,336

Before Change


    	// redirect in init action can be triggered with GET request, the render call in the line above will execute such inits
    	if( !isPostRequest() && isRedirected() ){
    		redirect();
    		cache.invalidate(key); 
    	}
    	else if( download != null ){ //File.download() executed in page/template init block
    		download();

After Change


    	// redirect in init action can be triggered with GET request, the render call in the line above will execute such inits
    	if( !isPostRequest() && isRedirected() ){
    		redirect();
    		if(cache != null){ cache.invalidate(key); } 
    	}
    	else if( download != null ){ //File.download() executed in page/template init block
    		download();